Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

of course!

But i've just copy&paste to my server :-)
================================================
#!/bin/sh
#
# chkconfig: 345 95 5
# description: questo script è usato per attivare il server Domino come processo in background
#
# Usare /etc/init.d/domino start|stop|status|restart
# Questo script prende spunto dallo script originale di IBM, con alcune personalizzazioni
# le 3 variabili descritte di seguito devono essere impostate in base all'installazione dell'ambiente.
# DOM_HOME è la variabile che indica allo script dove è situata la notesdata
DOM_HOME=/usr/local/notesdata
# DOM_USER è l'account Linux usato per far girare il server Domino
DOM_USER=domino85
# DOM_PROG è il folder dove sono situati gli eseguibili di Domino
DOM_PROG=/opt/ibm/lotus/bin
# Source function library
. /etc/rc.d/init.d/functions
# Set the prog variable for the status line of the code
prog=$DOM_PROG/server
# Does the lock file exist?
config () {
if [ -f $DOM_HOME/.jsc_lock ]; then
rm -f $DOM_HOME/.jsc_lock
fi
}
# Start del server
start() {
echo -n "Starting Domino server: "
config
cd $DOM_HOME
su - $DOM_USER -c "$DOM_PROG/server > /dev/null 2>&1
&"
sleep 5
return 0
}
# Stop del server
stop() {
echo -n "Stopping Domino server: "
su - $DOM_USER -c "$DOM_PROG/server -q"
echo ''
sleep 5
return 0
}
# Restart del server
restart() {
echo -n "Beginning restart script..."
su - $DOM_USER -c "$DOM_PROG/server -q"
echo ''
sleep 5
echo -n "Starting Domino Server..."
config
cd $DOM_HOME
su - $DOM_USER -c "$DOM_PROG/server > /dev/null 2>&1 &"
sleep 5
echo ''
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
status)
status $prog
;;
*)
echo "Usage: domino {start|stop|status|restart}"
exit 1
esac
=============================


Feedback response number WEBB82YJH4 created by ~Hal Preponeman on 02/24/2010

R5 win -> R85 linux migration (~Hal Preponeman... 4.Dec.09)
. . R5 win -> R85 linux migration (~Kirk Pretoolit... 4.Dec.09)
. . . . R5 win -> R85 linux migration (~Hal Preponeman... 9.Dec.09)
. . . . . . 8.5.1 and Lotus Mobile Connect (~Kirk Pretoolit... 14.Dec.09)
. . . . . . First steps done (~Hal Preponeman... 29.Jan.10)
. . . . . . . . Startup script ok! (~Hal Preponeman... 4.Feb.10)
. . . . . . . . . . Startup script (~Wei Retumitexi... 5.Feb.10)
. . . . . . . . . . . . of course! (~Hal Preponeman... 24.Feb.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS